#pragma once
#include <windows.h>

namespace gname
{
	//class IGraphicsDevice;

	class IVertexBuffer
	{
	public:


		
	    virtual void Lock()=0;
		virtual void Unlock()=0;
		virtual bool IsLock()=0;
		virtual void SetData( void *data)=0;
		virtual unsigned GetId() const = 0;
		//virtual void AddData( void *data, UINT size)=0;
		virtual void Alloc (int vertexCount)   = 0;
	    virtual void Resize(int newVertexSize) = 0;
	    virtual void Clear()                   = 0;
		virtual void Init()                    = 0;

	


	};
}